package com.dd.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages ={"com.dd.restcontroller"})
@EnableJpaRepositories(basePackages ={"com.dd.dao"})
@EntityScan("com.dd.model")
public class ProviderUserHaApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(ProviderUserHaApplication.class, args);
	}
	
}
